[INFO] cloning repository https://github.com/modulitos/CtCI-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/modulitos/CtCI-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8bbaa49c3eca43a77cf1a2cea1b6f98071ad2c78
[INFO] checking modulitos/CtCI-rust against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/modulitos/CtCI-rust on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/modulitos/CtCI-rust
[INFO] finished tweaking git repo https://github.com/modulitos/CtCI-rust
[INFO] tweaked toml for git repo https://github.com/modulitos/CtCI-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/modulitos/CtCI-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 64778cd18719964f1d81a0e6139d5e4b57363a72c065eb4c773a894bbacc4a36
[INFO] running `Command { std: "docker" "start" "-a" "64778cd18719964f1d81a0e6139d5e4b57363a72c065eb4c773a894bbacc4a36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64778cd18719964f1d81a0e6139d5e4b57363a72c065eb4c773a894bbacc4a36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64778cd18719964f1d81a0e6139d5e4b57363a72c065eb4c773a894bbacc4a36", kill_on_drop: false }`
[INFO] [stdout] 64778cd18719964f1d81a0e6139d5e4b57363a72c065eb4c773a894bbacc4a36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 968d674b61a2ae32019810d6126b227747b61228bf7d494c3f032ca0dfe6ce1b
[INFO] running `Command { std: "docker" "start" "-a" "968d674b61a2ae32019810d6126b227747b61228bf7d494c3f032ca0dfe6ce1b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]     Checking getrandom v0.1.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling derive_more v0.15.0
[INFO] [stderr]     Checking rust-solutions v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/linked_list/second.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type Link<T> = Option<(Box<Node<T>>)>;
[INFO] [stdout]    |                           ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 - pub type Link<T> = Option<(Box<Node<T>>)>;
[INFO] [stdout] 11 + pub type Link<T> = Option<Box<Node<T>>>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::List`
[INFO] [stdout]    --> src/linked_list/second.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     use super::List;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/third.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/fifth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/refcell_singly.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/stack.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/binary_search_tree.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ord`, `Ordering`
[INFO] [stdout]  --> src/graph.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{Ord, Ordering};
[INFO] [stdout]   |                ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/graph.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/binary_tree.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/binary_tree_refcell.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/binary_search_tree_refcell.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/linked_list/second.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type Link<T> = Option<(Box<Node<T>>)>;
[INFO] [stdout]    |                           ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 11 - pub type Link<T> = Option<(Box<Node<T>>)>;
[INFO] [stdout] 11 + pub type Link<T> = Option<Box<Node<T>>>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/third.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/linked_list/fifth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ord`, `Ordering`
[INFO] [stdout]  --> src/graph.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{Ord, Ordering};
[INFO] [stdout]   |                ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/linked_list/second.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `into_iter` is never used
[INFO] [stdout]   --> src/linked_list/second.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn into_iter(self) -> IntoIter<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter` is never used
[INFO] [stdout]   --> src/linked_list/second.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter_mut` is never used
[INFO] [stdout]   --> src/linked_list/second.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `push` is never used
[INFO] [stdout]   --> src/linked_list/second.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn push(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peek` is never used
[INFO] [stdout]    --> src/linked_list/second.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peek_mut` is never used
[INFO] [stdout]    --> src/linked_list/second.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn peek_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/linked_list/third.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `append` is never used
[INFO] [stdout]   --> src/linked_list/third.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn append(&mut self, elem: T) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tail` is never used
[INFO] [stdout]   --> src/linked_list/third.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn tail(&self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `head` is never used
[INFO] [stdout]   --> src/linked_list/third.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn head(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter` is never used
[INFO] [stdout]    --> src/linked_list/third.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/linked_list/fourth.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn new(elem: T) -> Rc<RefCell<Self>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/linked_list/fourth.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `push_front` is never used
[INFO] [stdout]   --> src/linked_list/fourth.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn push_front(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peek_front` is never used
[INFO] [stdout]   --> src/linked_list/fourth.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn peek_front(&self) -> Option<Ref<T>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `prev` is never read
[INFO] [stdout]   --> src/linked_list/brandon.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Node<T> {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     prev: Option<NodeRef<T>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/linked_list/brandon.rs:228:4
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tail` is never used
[INFO] [stdout]   --> src/linked_list/brandon.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn tail(node: &NodeRef<T>) -> Option<NodeRef<T>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove` is never used
[INFO] [stdout]   --> src/linked_list/brandon.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn remove(&mut self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/linked_list/brandon.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `append` is never used
[INFO] [stdout]   --> src/linked_list/brandon.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn append(&mut self, new_value: T) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tail` is never used
[INFO] [stdout]   --> src/linked_list/brandon.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn tail(&self) -> Option<NodeRef<T>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iter` is never used
[INFO] [stdout]   --> src/linked_list/brandon.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `list_has_duplicates` is never used
[INFO] [stdout]    --> src/linked_list/brandon.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn list_has_duplicates(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_duplicates` is never used
[INFO] [stdout]    --> src/linked_list/brandon.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn remove_duplicates(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tail` is never read
[INFO] [stdout]  --> src/linked_list/fifth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct List<T> {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 8 |     head: Link<T>,
[INFO] [stdout] 9 |     tail: *mut Node<T>, // DANGER - raw pointer
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/linked_list/fifth.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `push` is never used
[INFO] [stdout]   --> src/linked_list/fifth.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn push(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pop` is never used
[INFO] [stdout]   --> src/linked_list/fifth.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 42 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch2-p5_sum-lists.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/bin/ch2-p5_sum-lists.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | mod test {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_rotation` is never used
[INFO] [stdout]   --> src/bin/ch1-p9_string-rotation.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn is_rotation(s1: &str, s2: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Node`
[INFO] [stdout]   --> src/bin/ch2-p8_loop-detection.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | use cracking::{HashedNode, Node, NodeRef, SinglyLinkedList as LinkedList};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/bin/ch2-p8_loop-detection.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch2-p8_loop-detection.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/bin/ch2-p8_loop-detection.rs:85:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | mod test {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p8_draw_line`
[INFO] [stdout]    --> src/bin/ch5-p8_draw-line.rs:196:2
[INFO] [stdout]     |
[INFO] [stdout] 196 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/bin/ch5-p8_draw-line.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p3_flip_bit_to_win`
[INFO] [stdout]   --> src/bin/ch5-p3_flip-bit-to-win.rs:73:2
[INFO] [stdout]    |
[INFO] [stdout] 73 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/ch5-p3_flip-bit-to-win.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch2_p8_loop_detection`
[INFO] [stdout]    --> src/bin/ch2-p8_loop-detection.rs:166:2
[INFO] [stdout]     |
[INFO] [stdout] 166 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/bin/ch2-p8_loop-detection.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `urlify_2` is never used
[INFO] [stdout]   --> src/bin/ch1-p2_urlify.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn urlify_2(url: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RCBTreeNode as Node`
[INFO] [stdout]  --> src/bin/ch4-p8_first-common-ancestor.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cracking::{RCBTree as Tree, RCBTreeNode as Node, RCBinaryTree as BinaryTree};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/bin/ch4-p8_first-common-ancestor.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]    --> src/bin/ch4-p8_first-common-ancestor.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | mod tests {
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-solutions` due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-solutions` due to 2 previous errors
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p8_first_common_ancestor`
[INFO] [stdout]    --> src/bin/ch4-p8_first-common-ancestor.rs:243:2
[INFO] [stdout]     |
[INFO] [stdout] 243 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/bin/ch4-p8_first-common-ancestor.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-solutions` due to 2 previous errors
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-solutions` due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch4-p6_successor.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/bin/ch4-p6_successor.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | mod tests {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/bin/ch2-p6_check-palindrome.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/bin/ch2-p6_check-palindrome.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | mod test {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p6_successor`
[INFO] [stdout]    --> src/bin/ch4-p6_successor.rs:163:2
[INFO] [stdout]     |
[INFO] [stdout] 163 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/bin/ch4-p6_successor.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-solutions` due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stack.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let mut s: Stack<u64> = Stack::new();
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/linked_list/brandon.rs:228:4
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `list_has_duplicates` is never used
[INFO] [stdout]    --> src/linked_list/brandon.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn list_has_duplicates(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "968d674b61a2ae32019810d6126b227747b61228bf7d494c3f032ca0dfe6ce1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "968d674b61a2ae32019810d6126b227747b61228bf7d494c3f032ca0dfe6ce1b", kill_on_drop: false }`
[INFO] [stdout] 968d674b61a2ae32019810d6126b227747b61228bf7d494c3f032ca0dfe6ce1b
